//
// Created by Tian on 25-5-2.
//

#ifndef ESP32_FAN_BLE_SERVER_H
#define ESP32_FAN_BLE_SERVER_H

int ble_task_init(void);

#define BLE_STA_INIT_SUC        (1 << 0)
#define BLE_STA_CHANGE_CONN     (1 << 1)
#define BLE_STA_CHANGE_DISCONN  (1 << 2)
#define BLE_DAT_CHANGE_CPU_TEMP (1 << 3)
#define BLE_DAT_CHANGE_F1       (1 << 4)

int ble_get_data_handler(void);
int ble_get_cpu_temperature(void);
const char* ble_get_device_name(void);

#endif //ESP32_FAN_BLE_SERVER_H
